package libra.openfeign.callService;

import java.util.HashMap;
import java.util.Map;

public class OpenFeignClientServiceFallback implements OpenFeignClientService {
	private static final Map info = Map.of("from", "serviceFallback");
	@Override
	public Object exec() {
		Map copyOf = new HashMap(info);
		copyOf.putAll( Map.of("methodFallback", "exec()") );
		return copyOf;
	}
	@Override
	public Object timeout() {
		Map copyOf = new HashMap(info);
		copyOf.putAll( Map.of("methodFallback", "timeout()") );
		return copyOf;
	}
	@Override
	public Object ex() {
		Map copyOf = new HashMap(info);
		copyOf.putAll( Map.of("methodFallback", "ex()") );
		return copyOf;
	}
	@Override
	public Object withoutDecode404() {
		Map copyOf = new HashMap(info);
		copyOf.putAll( Map.of("methodFallback", "withoutDecode404()") );
		return copyOf;
	}
	

}
